public class SyntaxException extends Exception
{
	public SyntaxException( int lineNumber, int charNumber, String foundToken, String expectedToken, String line )
	{
		String s = "Syntax Error at Line: " + lineNumber + " ";
		s += "char: " + charNumber + "\n";
		s += "Found: " + foundToken + "\n";
		s += "Expected: " + expectedToken+ "\n";
		s += "In:  "+ line; 
		System.out.println( s );
	}
	
	public SyntaxException( String s)
	{
		super(s);
	}

}
